<h:layout tpl="_layout"/>

<h:tabset selected.style="font-weight:bold">
	<h:tab action=index>基本选项</h:tab>
	<c:foreach from=$names item=name>
		<h:tab action=locale param.name=$name cond.name=$name>{{$name}}</h:tab>
	</c:foreach>
</h:tabset>

<div>
<f:form id="global">
	<table>
		<tr>
			<td>默认区域化名称</td>
			<td><f:select name="name" options=$names/></td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" value="保 存"/></td>
		</tr>
	</table>
</f:form>
</div>


<f:form id="new">
	<table>
		<tr>
			<td>简写的区域名称</td>
			<td><f:field name="name" size="10"/> (如en_us, zh_cn)</td>
		</tr>
		<tr>
			<td width="120">时区</td>
			<td><f:field name=opt[timezone] value_get="Asia/Chongqing"/> <a href="http://www.php.net/manual/en/timezones.php" target="_blank">查看所有支持的时区</a></td>
		</tr>
		<tr>
			<td>消息路径</td>
			<td><f:field name=opt[message] value_get="app/config/locale/%{locale}/_message*.php" size=70/></td>
		</tr>
		<tr>
			<td>选项路径</td>
			<td><f:field name=opt[opt] value_get="app/config/locale/%{locale}/_opt.php" size=70/></td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" value="新 建"/></td>
		</tr>
	</table>
</f:form>
